package com.china08.yxyapi.entity.mg.huodong.healthcompetition;

import javax.persistence.Id;

import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import com.china08.yxyapi.entity.mg.MongoBaseEntityNoId;

/**
 * 中小学健康知识答题.
 */
@SuppressWarnings("serial")
@Document(collection = "yxy.huodong.competition.student")
public class YxyCompetitionStudent extends MongoBaseEntityNoId {

    @Id
    private String id;

    // @Column(name = "student_id", columnDefinition = "varchar(32) comment
    // '学生id' ")
    @Indexed
    @Field(value = "student_id")
    private String studentId;

    @Indexed
    @Field(value = "img")
    private String img;

    // @Column(columnDefinition = "varchar(32) comment '学生名称' ", nullable =
    // false)
    @Field(value = "student_nick")
    private String studentNick;

    // @Column(columnDefinition = "varchar(32) comment '试卷编号' ", nullable =
    // false)
    @Field(value = "paper_num")
    private String paperNum;

    // @Column(columnDefinition = "varchar(32) comment '班级id' ", nullable =
    // false)
    @Field(value = "class_id")
    private String classId;
    // @Column(columnDefinition = "varchar(255) comment '班级名称' ", nullable =
    // false)
    @Field(value = "class_name")
    private String className;
    // @Column(columnDefinition = "varchar(32) comment '学校id' ", nullable =
    // false)
    @Field(value = "school_id")
    private String schoolId;
    // @Column(columnDefinition = "varchar(255) comment '学校名称' ", nullable =
    // false)
    @Field(value = "school_name")
    private String schoolName;
    // @Column
    @Field(value = "area_code_province")
    private String areaCodeProvince;
    // @Column
    @Field(value = "area_name_province")
    private String areaNameProvince;
    // @Column
    @Field(value = "area_code_city")
    private String areaCodeCity;
    // @Column
    @Field(value = "area_name_city")
    private String areaNameCity;
    // @Column
    @Field(value = "area_code_district")
    private String areaCodeDistrict;
    // @Column
    @Field(value = "area_name_district")
    private String areaNameDistrict;

    // @Column(columnDefinition = "int default 0 comment '状态 0:未开始,
    // 1:进行中,2:完成'", nullable = false)
    @Field(value = "status")
    private Integer status;

    // @Column(columnDefinition = "int comment '得分'")
    @Field(value = "score")
    private Integer score;
    // @Column(columnDefinition = "varchar(5) comment '学段名称' ",
    // nullable =
    // false)
    @Field(value = "stage")
    private String stage;
    // @Column(columnDefinition = "varchar(255) comment '年级' ", nullable =
    // false)
    @Field(value = "grade")
    private String grade;

    /**
     * @return the id
     */
    public String getId() {
        return id;
    }

    /**
     * @param id
     *            the id to set
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * @return the studentId
     */
    public String getStudentId() {
        return studentId;
    }

    /**
     * @param studentId
     *            the studentId to set
     */
    public void setStudentId(String studentId) {
        this.studentId = studentId;
    }

    /**
     * @return the studentNick
     */
    public String getStudentNick() {
        return studentNick;
    }

    /**
     * @param studentNick
     *            the studentNick to set
     */
    public void setStudentNick(String studentNick) {
        this.studentNick = studentNick;
    }

    /**
     * @return the paperNum
     */
    public String getPaperNum() {
        return paperNum;
    }

    /**
     * @param paperNum
     *            the paperNum to set
     */
    public void setPaperNum(String paperNum) {
        this.paperNum = paperNum;
    }

    /**
     * @return the classId
     */
    public String getClassId() {
        return classId;
    }

    /**
     * @param classId
     *            the classId to set
     */
    public void setClassId(String classId) {
        this.classId = classId;
    }

    /**
     * @return the className
     */
    public String getClassName() {
        return className;
    }

    /**
     * @param className
     *            the className to set
     */
    public void setClassName(String className) {
        this.className = className;
    }

    /**
     * @return the schoolId
     */
    public String getSchoolId() {
        return schoolId;
    }

    /**
     * @param schoolId
     *            the schoolId to set
     */
    public void setSchoolId(String schoolId) {
        this.schoolId = schoolId;
    }

    /**
     * @return the schoolName
     */
    public String getSchoolName() {
        return schoolName;
    }

    /**
     * @param schoolName
     *            the schoolName to set
     */
    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }

    /**
     * @return the areaCodeProvince
     */
    public String getAreaCodeProvince() {
        return areaCodeProvince;
    }

    /**
     * @param areaCodeProvince
     *            the areaCodeProvince to set
     */
    public void setAreaCodeProvince(String areaCodeProvince) {
        this.areaCodeProvince = areaCodeProvince;
    }

    /**
     * @return the areaNameProvince
     */
    public String getAreaNameProvince() {
        return areaNameProvince;
    }

    /**
     * @param areaNameProvince
     *            the areaNameProvince to set
     */
    public void setAreaNameProvince(String areaNameProvince) {
        this.areaNameProvince = areaNameProvince;
    }

    /**
     * @return the areaCodeCity
     */
    public String getAreaCodeCity() {
        return areaCodeCity;
    }

    /**
     * @param areaCodeCity
     *            the areaCodeCity to set
     */
    public void setAreaCodeCity(String areaCodeCity) {
        this.areaCodeCity = areaCodeCity;
    }

    /**
     * @return the areaNameCity
     */
    public String getAreaNameCity() {
        return areaNameCity;
    }

    /**
     * @param areaNameCity
     *            the areaNameCity to set
     */
    public void setAreaNameCity(String areaNameCity) {
        this.areaNameCity = areaNameCity;
    }

    /**
     * @return the areaCodeDistrict
     */
    public String getAreaCodeDistrict() {
        return areaCodeDistrict;
    }

    /**
     * @param areaCodeDistrict
     *            the areaCodeDistrict to set
     */
    public void setAreaCodeDistrict(String areaCodeDistrict) {
        this.areaCodeDistrict = areaCodeDistrict;
    }

    /**
     * @return the areaNameDistrict
     */
    public String getAreaNameDistrict() {
        return areaNameDistrict;
    }

    /**
     * @param areaNameDistrict
     *            the areaNameDistrict to set
     */
    public void setAreaNameDistrict(String areaNameDistrict) {
        this.areaNameDistrict = areaNameDistrict;
    }

    /**
     * @return the status
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * @param status
     *            the status to set
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * @return the score
     */
    public Integer getScore() {
        return score;
    }

    /**
     * @param score
     *            the score to set
     */
    public void setScore(Integer score) {
        this.score = score;
    }

    /**
     * @return the stage
     */
    public String getStage() {
        return stage;
    }

    /**
     * @param stage
     *            the stage to set
     */
    public void setStage(String stage) {
        this.stage = stage;
    }

    /**
     * @return the grade
     */
    public String getGrade() {
        return grade;
    }

    /**
     * @param grade
     *            the grade to set
     */
    public void setGrade(String grade) {
        this.grade = grade;
    }

    /**
     * @return the img
     */
    public String getImg() {
        return img;
    }

    /**
     * @param img
     *            the img to set
     */
    public void setImg(String img) {
        this.img = img;
    }

}
